-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace common components vuls module #6235
Replace common components vuls module #6235
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note
I use the script on scripts/vulnerabilities-events-injector/dataInjectScript.py
to insert vulnerability index and data index.
I use 2.11 OSD
to test.
CR: 🟡 (Check comments)
Test 🟢
Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
Dashboard tab
Test | Chrome | Firefox | Safari |
---|---|---|---|
Check all the data is shown correctly (check all dashboard components are completed with data) in tops, metrics, table, etc) | 🟢 | ⚫ | ⚫ |
Click on add filter and check if the filter is applied | 🟢 | ⚫ | ⚫ |
Check dashboard table pagination works | 🟢 | ⚫ | ⚫ |
Apply filters using the search bar input | 🟢 | ⚫ | ⚫ |
Apply filters using the search bar add filter feature |
🟢 | ⚫ | ⚫ |
Check dashboard responsive layout (mobile) | 🟢 | ⚫ | ⚫ |
- Check all the data is shown correctly (check all dashboard components are completed with data) in tops, metrics, table, etc) 🟢
Evidence_1.webm
- Click on add filter and check if the filter is applied 🟢
Evidence_2.webm
- Check dashboard table pagination works 🟢
Evidence_3.webm
- Apply filters using the search bar input 🟢
Evidence_4.webm
- Apply filters using the search bar
add filter
feature 🟢
Evidence_5.webm
- Check dashboard responsive layout (vertical align in mobile) 🟢
Evidence_6.webm
Inventory tab
Test | Chrome | Firefox | Safari |
---|---|---|---|
Check all inventory table header features (sort, show/hide columns, density, etc) | 🟢 | ⚫ | ⚫ |
Check document detail flyout | 🟢 | ⚫ | ⚫ |
Apply filters using search bar input | 🟢 | ⚫ | ⚫ |
Apply filters using the search bar add filter feature |
🟢 | ⚫ | ⚫ |
- Check all inventory table header features (sort, show/hide columns, density, etc) 🟢
Evidence_7.webm
- Check document detail flyout 🟢
Evidence_8.webm
- Apply filters using search bar input 🟢
Evidence_9.webm
- Apply filters using the search bar
add filter
feature 🟢
Evidence_10.webm
Global
Test | Chrome | Firefox | Safari |
---|---|---|---|
Check filters persistence between tabs (inventory, dashboard) | 🟢 | ⚫ | ⚫ |
- Check filters persistence between tabs (inventory, dashboard) 🟢
Evidence_11.webm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT
Look the suggestions in this comment
Thanks, @lucianogorza for your suggestions. Hide all and export
Now, The Check document detail flyout
After checking the code, I found a CSS class that cut off the letters in every row. Then i removed it and the letters are shown correctly. |
|
|
|
Description
This PR replaces and removes duplicated data grid, search bar, and doc viewer components/hooks.
Closes #6222
Tests
Preconditions
Add index
wazuh-states-vulnerabilities
with data following the commentLegend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
Dashboard tab
add filter
featureScreen.Recording.2023-12-26.at.08.45.20.mov
Screen.Recording.2023-12-26.at.08.47.16.mov
Screen.Recording.2023-12-26.at.08.48.32.mov
Screen.Recording.2023-12-26.at.08.49.40.mov
add filter
featureScreen.Recording.2023-12-26.at.08.51.03.mov
Screen.Recording.2023-12-26.at.09.51.11.mov
Inventory tab
add filter
featureScreen Recording 2023-12-26 at 08.54.43
Screen.Recording.2023-12-26.at.08.57.21.mov
Screen.Recording.2023-12-26.at.08.57.59.mov
add filter
featureScreen.Recording.2023-12-26.at.08.59.11.mov
Global
Screen.Recording.2023-12-26.at.09.52.01.mov
Screen.Recording.2023-12-29.at.01.09.59.mov
Check List
yarn test:jest